/** layuiAdmin.std-v1.0.0 LPPL License By http://www.layui.com/admin/ */
 ;layui.define(function(e){layui.use(["admin","carousel"],
 function()
 {var e=layui.$,a=(layui.admin,layui.carousel),t=layui.element,i=layui.device();
 	e(".layadmin-carousel").each(function(){var t=e(this);
 		a.render({elem:this,width:"100%",arrow:"none",interval:t.data("interval"),
 		autoplay:t.data("autoplay")===!0,trigger:i.ios||i.android?"click":"hover",anim:t.data("anim")})}),
 		t.render("progress")}),layui.use(["carousel","echarts"],
 		function(){var e=layui.$,a=(layui.carousel,layui.echarts),t=[],
 	i=[{title:{text:"本周积分变化",subtext:"余余"},tooltip:{trigger:"axis"},
 	legend:{data:["当日平均积分","历史平均分"]},calculable:!0,
 	xAxis:[{type:"category",boundaryGap:!1,
 	data:["周一","周二","周三","周四","周五","周六","周日"]}],
 	yAxis:[{type:"value",axisLabel:{formatter:"{value} 分"}}],
 	series:[{name:"当日平均积分",type:"line",data:[200,208,205,184,131,121,150],
 	markPoint:{data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},
 	markLine:{data:[{type:"average",name:"平均值"}]}},
 	{name:"历史平均分",type:"line",data:[201,203,208,206,189,173,169],
 	markPoint:{data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},
 	markLine:{data:[{type:"average",name:"平均值"}]}}]}],

n=e("#LAY-index-normline").children("div"),
l=function(e){t[e]=a.init(n[e],layui.echartsTheme),t[e].setOption(i[e]),
	window.onresize=t[e].resize};;n[0]&&l(0)}),
e("senior",{})});